package com.shengqiang.cloud.feignClient;

import com.shengqiang.cloud.feignClient.hystrix.FeignClientHystrix;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * Created by Administrator on 2017/11/1.
 */
@FeignClient(name = "userProvide",fallback = FeignClientHystrix.class)
public interface FeignClientTest {

    @GetMapping("/test/provideTest")
    public String getUerProvideTest();
}
